.root {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #000;
  position: relative;


  .wrap {
    max-width: 100%;
    max-height: 100%;

    img,
    video {
      min-width: 500px;
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .subtitles {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      // min-width: 1200px;
      /* 调整宽度以适应屏幕 */
      text-align: center;
      color: rgba(255, 255, 255, 0.4);
      background: rgba(0, 0, 0, 0.3);
      /* 透明度参数可以修改 */
      padding: 10px;
      font-size: 30px;
      font-family: Arial, sans-serif;
    }
  }


  :global {

    .ant-spin-nested-loading,
    .ant-spin-container {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
  }
}